#include <iostream>
#include <ql/quantlib.hpp>

using namespace std;
using namespace QuantLib;

class  FloatingRateBondWrap: public FloatingRateBond   
{  
		public:  
		FloatingRateBondWrap(QuantLib::FloatingRateBond bond, double factor, int settlementDate, double price);
		~FloatingRateBondWrap(void);

		QuantLib::Real FloatingRateBondWrap::NPV();

		private:
		double factor_;
		int settlementDate_;
		double price_;
};

